<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta name="author" content="Wink Hosting (www.winkhosting.com)" />
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<link rel="stylesheet" href="images/style.css" type="text/css" />
	<title>Clever DropBox</title>
</head>
<body>
	<div id="contenttext">
	 
	 <% if(session.getAttribute("sending password email")!=null)
		{
		%>
			<br />
			<div class="panel" align="justify">
			<p class="bodytext">You password has been sent.</p>
			  <p class="bodytext">For go home page, <a href="home.jsp">click here</a>.</p>
			</div>
			<%
			  	session.removeAttribute("sending password email");
			%>
			
		<%
		}
	 	else
	 	{
		%>
			<div class="bodytext" style="padding:12px;" align="justify">
			<blockquote>
			<p><span class="orangelogotext">Forgot your password?</span><br />
		   	</p>
		    </blockquote>
        	<form action="/SendPasswordServlet" method="post" name="form1" target="body" id="form1">
	        
	    	<table width="309" height="106" border="0">
		      	<tr>
		        	<td width="60">User Name:</td>
		        	<td width="239"><input type="text" name="UserNameTextBox" id="UserNameTextBox" /></td>
	          	</tr>
	          	<tr>
		        	<td colspan="2">
		   				<% if(session.getAttribute("error user name")!=null)
						{
						%>
							<h3><span class="bodytext" style="color:red">User name does not exist </span></h3>
							<br/>
							<%
							  	session.removeAttribute("error user name");
							%>
						<%
						 } 
						%>
	            	</td>
	         	</tr>
		      	<tr>
		        	<td colspan="2" align="center">
		        		<p><input type="submit" name="SendPass" id="SendPass" value="Send your password" /></p>
	            	</td>
	         	</tr>
        	</table>
           
				</form>
        </div>
        		  </div>		
		<%} 
		%>
	 

        

		
	</div>
</body>
</html>
